﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Prodma.DataAccess.Models.UserControlViewModels.AcceptanceVm>" %>

<% string url = "?"; %>
<% if (ViewData.Model.Keys != null) %>
<% { %>
     <% for (int i = 0; i < ViewData.Model.Keys.Count; i++) %>
     <% { %>
          <% if (ViewData.Model.Values[i] == "" || ViewData.Model.Values[i] == null) %>
          <% { %>
               <% ViewData.Model.Values[i] = "0"; %>
          <% } %>
          <% url += ViewData.Model.Keys[i] + "=" + ViewData.Model.Values[i] + "&"; %>
     <% } %>
<% } %>

<ul class="navigation" >  
  <li>
    <a href='/<%=ViewData.Model.View %>/index/<%=url %>'>
        <img src="../../Images/ListImages/exit.png" alt="" />
        <p>Çıkış</p>
    </a>
  </li>
  <li>
    <a href="#" onclick="submitForm();">
        <img src="../../Images/ListImages/ok.png" alt="" />
        <p>Kaydet</p>
    </a>
  </li>
</ul>